<?php
/**
 * Created by PhpStorm.
 * User: lihao
 * Date: 2017/7/20
 * Time: 下午12:33
 */

class Team extends MY_Controller {

    public function __construct() {
        parent::__construct();
        $this->load->model('User_model');
    }

    public function index()
    {
        $users = $this->User_model->search();
        $this->load->view('team', array(
            'users'=>$users
        ));
    }
}